SetColumns(IExcelRead,CT_Col[],Int16,Single,Double,Boolean,Dictionary<Int32,Int32>) Method
Sets the columns.
'Declaration
Public Shared Sub SetColumns( _
ByVal As IExcelRead, _
ByVal () As CT_Col, _
ByVal As Short, _
ByVal As Single, _
ByVal As Double, _
ByVal As Boolean, _
ByRef As Dictionary(Of Integer,Integer) _
)
'Usage
Dim spread As IExcelRead
Dim cols() As CT_Col
Dim sheetIndex As Short
Dim charWidth As Single
Dim defaultColWidth As Double
Dim needExtend As Boolean
Dim colInfo As Dictionary(Of Integer,Integer)
SheetViewSynchronizer.SetColumns(spread, cols, sheetIndex, charWidth, defaultColWidth, needExtend, colInfo)
Parameters
- spread
- GrapeCity Spread
- cols
- Worksheet
- sheetIndex
- Index of the sheet
- charWidth
- Width of the character
- defaultColWidth
- Width of the default column
- needExtend
- Whether need to extend
- colInfo